package com.bjsxt.userscenter.auth.pojo;

import java.io.Serializable;
import java.util.Date;

import com.bjsxt.userscenter.users.pojo.ARole;

/**
 * 菜单的POJO
 * 
 * @author WangshSxt
 *
 */
public class ARoleMenu implements Serializable
{
	private Integer id;
	private Integer roleId;
	private Integer menuId;
	private byte status;
	private Date createTime;
	private Date updateTime;
	private Date pubTime;

	/* 关联对象 */
	private AMenu menu;
	private ARole role;

	public Integer getId()
	{
		return id;
	}

	public void setId(Integer id)
	{
		this.id = id;
	}

	public Integer getRoleId()
	{
		return roleId;
	}

	public void setRoleId(Integer roleId)
	{
		this.roleId = roleId;
	}

	public Integer getMenuId()
	{
		return menuId;
	}

	public void setMenuId(Integer menuId)
	{
		this.menuId = menuId;
	}

	public byte getStatus()
	{
		return status;
	}

	public void setStatus(byte status)
	{
		this.status = status;
	}

	public Date getCreateTime()
	{
		return createTime;
	}

	public void setCreateTime(Date createTime)
	{
		this.createTime = createTime;
	}

	public Date getUpdateTime()
	{
		return updateTime;
	}

	public void setUpdateTime(Date updateTime)
	{
		this.updateTime = updateTime;
	}

	public Date getPubTime()
	{
		return pubTime;
	}

	public void setPubTime(Date pubTime)
	{
		this.pubTime = pubTime;
	}

	public AMenu getMenu()
	{
		return menu;
	}

	public void setMenu(AMenu menu)
	{
		this.menu = menu;
	}

	public ARole getRole()
	{
		return role;
	}

	public void setRole(ARole role)
	{
		this.role = role;
	}

}
